<template>
    <div class="vcommand-son">
        <div class="slotdemo1">
            <slot></slot>
        </div>
        <div class="slotdemo2">
            <span>第一个具名插槽：</span><br>
            <slot name="img1"></slot>
        </div>
        <div class="slotdemo3">
            <span>第二个具名插槽：</span><br>
            <slot name="img2"></slot>
        </div>
    </div>
</template>

<script>
export default {
    name: 'VcommandSon', // Vcommand的子组件，用于演示v-slot指令
}
</script>

<style>

</style>